<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<%@ page import="com.chanyachting.emall.util.*"%>
<%@ page import="com.chanyachting.emall.domain.*" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
	<h2><span class="blue">${dockForm.channelName}</span></h2>
	<div class="tab_menu">
		<ul>
        		<logic:iterate id="scList" name="dockForm" property="subChannelList" indexId="i">
        		<bean:define id="scId" name="scList" property="id"/>
            	<li <logic:equal name="dockForm" property="subChannelId" value="${scId}">class="selected"</logic:equal> onclick="callClubServer(${i});">${scList.name}</li>
              </logic:iterate>
          </ul>
    </div>
    <div class="tab_box">
    	<div>
    		<div class="v_show_02">
    			<div class="scroll"><span class="up" ><img src="images/up_01.gif" alt="" onclick="javascript:location.href=/chinayachting/frontend/club/readDockOfSubChannel.do?channelId=${dockForm.channelId}&subChannelId=${dockForm.subChannelId}&currentPage=${dockForm.currentPage+1}"/></span><span class="down"><img src="images/down_01.gif" alt=""  onclick="javascript:location.href=/chinayachting/frontend/club/readDockOfSubChannel.do?channelId=${dockForm.channelId}&subChannelId=${dockForm.subChannelId}&currentPage=${dockForm.currentPage-1}"/></span></div>
				<div class="v_content_02">
					<div class="v_content_list_02">
                		<ul>
                  <logic:iterate id="dock" name="dockForm" property="dockList" indexId="i">
        		<% String hasStyle = "class=\"light\""; if(i % 2 == 1) { hasStyle = "";}  %>
            		<li <%=hasStyle %>>
            		<a href="/chinayachting/frontend/club/readProduct01.do?id=${dock.companyId}&productId=${dock.id}"><img src="${dock.imgUrl }" alt="${dock.imgUrl }" /></a>
                    <p><a href="/chinayachting/frontend/club/readProduct01.do?id=${dock.companyId}&productId=${dock.id}">${dock.club}</a><br />
			                            码头性质：${dock.berthArea }<br />
			                            泊位数量：${dock.berthNumber}<br />
			          <span>城市：${dock.address}</span></p>
			      	</li>
			      </logic:iterate>
			      <logic:empty name="dockForm" property="dockList"><li>本频道无信息！</li></logic:empty>
			      		</ul>
			      </div>
          		</div>
          </div>
       </div>
   </div>
<div class="more_red"><a href="/chinayachting/frontend/club/readDockOfSubChannel.do?channelId=${dockForm.channelId}&subChannelId=${dockForm.subChannelId}&currentPage=${dockForm.currentPage}" title="more&gt;&gt;"><span>more&gt;&gt;</span></a></div>